﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ChargeCard.aspx.cs" Inherits="FortuneHeaven.Admin.ChargeCard" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>直充通道</title>
    <link href="../Style/Skin1/common.css" rel="stylesheet" type="text/css" />    
    <script type="text/javascript" src='<%=Page.ResolveClientUrl("~/Common/js/jquery-1.4.1.js")%>'></script>
    <script type="text/javascript" src='<%=Page.ResolveClientUrl("~/Common/js/js.js")%>' ></script>
        <style type="text/css">
        body
        {
            background-color: #e8eff3;
        }
        /*#TB_UserName, #TTB_Password, #NTB_ValidateCode
        {
            color: black;
            border: 1px solid #006699;
        }
      */
        .TR_ValidateCodeBlock
        {
            display:block;
        }
        table
        {
            position: absolute;
            width: 400px;
            left: 50%;
            top: 50%;
            margin-top: -100px;
            height: 200px;
            margin-left: -200px;
            border: 1px solid #999999;
            background-color: #AAACD3;
        }
        Td
        {
            font-size: 12px;
            height: 30px;
        }
        .btn
        {
              width:100px;
              height:25px;
            }
    </style>
    <script type="text/javascript">
        document.onkeydown = function () {
            var t1 = $('<%=TB_UserName.ClientID%>');
            var t2 = $('<%=TB_DBUserName.ClientID%>');
            var t3 = $('<%=TB_Card.ClientID%>');
            var b = $('<%=BT_Login.ClientID%>');

            if (event.keyCode == 13 && (event.srcElement == t1 || event.srcElement == t2 || event.srcElement == t3)) {
                window.event.cancelEvent = true;
                window.event.returnValue = false;
                b.click();
            }
        }
    </script>
</head>
<body>
    <form id="form1" runat="server">
       <table>
        <tr>
            <td>
                &nbsp;
            </td>
            <td colspan="2">
                &nbsp;
            </td>
        </tr>
        <tr>
            <td width="114" align="right" valign="middle">
                用户名：
            </td>
            <td width="274" colspan="2">
                <asp:TextBox ID="TB_UserName" runat="server" Width="112px"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="TB_UserName"
                    ErrorMessage="请输入"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td align="right">
                确认用户名：
            </td>
            <td width="274" colspan="2">
            <asp:TextBox ID="TB_DBUserName" runat="server" Width="112px"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="TB_DBUserName"
                    ErrorMessage="请输入"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td align="right">
                充值卡号：
            </td>
            <td width="274" colspan="2">
            <asp:TextBox ID="TB_Card" runat="server" Width="112px"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="TB_Card"
                    ErrorMessage="请输入"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr runat="server" id="TR_ValidateCode">
            <td align="right" valign="middle">
                验证码：
            </td>
            <td>
                 <asp:TextBox ID="NTB_ValidateCode" runat="server" Width="112px"></asp:TextBox>
            </td>
            <td width="136">
                &nbsp;<asp:Image ID="PassCode" runat="server" onclick="this.src='ValidationCode.ashx?n='+ Math.random();"
                    Style="cursor: pointer;" ImageUrl="ValidationCode.ashx" ToolTip="点击刷新验证码。" />
            </td>
        </tr>
        <tr align="center">
            <td height="26" colspan="3">
                <asp:Button ID="BT_Login" CssClass="btn" OnClick="LoginCheck" runat="server" Text="充值" EnableViewState="False"
                    ></asp:Button>
            </td>
        </tr>
        <tr align="center">
            <td colspan="3">
                &nbsp;
            </td>
        </tr>
    </table>
    </form>
</body>
</html>
